package org.footito.android.api;

public class CommentFromAPI {

	private int id;
	private String content;
	private int idTeam;
	private int idStatus;
	private int positive_likes;
	private int negative_likes;

	public CommentFromAPI(int commentId, String commentContent, int commentIdTeam, int commentIdStatus, int positive_likes_comment, int negative_likes_comment) {
		id = commentId;
		content = commentContent;
		idTeam = commentIdTeam;
		idStatus = commentIdStatus;
		this.positive_likes = positive_likes_comment;
		this.negative_likes = negative_likes_comment;
	}

	public int getId() {
		return id;
	}

	public String getContent() {
		return content;
	}

	public int getIdTeam() {
		return idTeam;
	}

	public int getIdStatus() {
		return idStatus;
	}

	public int getPositive_likes() {
		return positive_likes;
	}

	public int getNegative_likes() {
		return negative_likes;
	}

	public boolean isValid() {
		if (id < 0 || idStatus < 0 || idTeam < 0)
			return false;
		if (content == null || content.equalsIgnoreCase(""))
			return false;
		return true;
	}

}
